#define span(x)
	<span id="_#(x.index??)" class="form-control" style="border:0px;#(x.style??)">#(x.value??)</span>
	<script type="text/javascript">
	    function _#(x.index??)_initSpan(value){
	    	$("#_#(x.index??)").html(value);
	    	#if(x.localdata!=null)
	    		var map = new Map();
	    		#for(k : x.localdata)
	    			 map.put("#(k.key)","#(k.value)");
	    		#end
				$("#_#(x.index??)").html(map.get(value));
			#end
	    }
	</script>
#end